/////////////////////////////////////////////////////////////////////////////
// Name:        prefersdialog.h
// Purpose:     
// Author:      Brant Young
// Modified by: 
// Created:     Thu Jun 21 23:17:25 2007
// RCS-ID:      
// Copyright:   (C) Victsoft 2007
// Licence:     GPL 2.0
/////////////////////////////////////////////////////////////////////////////

#ifndef _PREFERS_H_
#define _PREFERS_H_

#include "wx/toolbook.h"

class wxBoxSizer;
class wxToolbook;
class wxStdDialogButtonSizer;
class GeneralPanel;
class UpdatePanel;
class NetworkPanel;


/*!
 * PrefersDialog class declaration
 */

class PrefersDialog: public wxDialog
{

public:
    /// Constructors
    PrefersDialog(wxWindow* parent);
    
    /// Destructor
    virtual ~PrefersDialog(){};

////@begin PrefersDialog member variables
    wxBoxSizer* p_root_sizer;
    wxToolbook* p_root_notebook;
    wxPanel* p_mainpanel;
    wxStdDialogButtonSizer* p_std_button_sizer;
    wxButton* p_ok_btn;
    wxButton* p_cancel_btn;
    wxButton* p_apply_btn;
    wxButton* p_help_btn;
    
    GeneralPanel* p_general_panel;
    NetworkPanel* p_network_panel;
    UpdatePanel* p_update_panel;
    /// Control identifiers
    enum {
        ID_PREFERS_DLG = 10021,
        ID_ROOT_NOTEBOOK = 10026,
        ID_GENERAL_PANEL = 10030,
        ID_NETWORK_PANEL = 10018,
        ID_UPDATE_PANEL = 10038
    };
    
////@end PrefersDialog member variables
    
    void OnOK(wxCommandEvent& event);
    
protected:
    /// Creates the controls and sizers
    void CreateControls();
    
    void InitEvents();
};

#endif
// _PREFERS_H_
